﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.Domain.Entities.SystemUser
{
    /// <summary>
    /// 财务明细实体类
    /// </summary>
    public class Financialdetails
    {
        /// <summary>
        /// 主键ID（自增）
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 用户编码
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string UserCode { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string Typeof { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string DepositMethod { get; set; }

        /// <summary>
        /// 充值金额（元）
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string Maney { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        [Required]
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 操作备注
        /// </summary>
        [MaxLength(50)]
        public string Remark { get; set; }

        /// <summary>
        /// 运单号
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string TrackingNumber { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string WarehouseName { get; set; }

        /// <summary>
        /// 资费标准
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string TariffStandard { get; set; }

        /// <summary>
        /// 费用详情
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string FeeDetailed { get; set; }

        /// <summary>
        /// 物品详情
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string ItemDetails { get; set; }
    }
}
